package com.jiukuaidao.library.config.db.impl;

import io.realm.DynamicRealm;
import io.realm.RealmMigration;

/**
 * Author : BinarySatan
 * Date : 2016/5/23
 * Description :
 */
public class ZLDBMigration implements RealmMigration {
    @Override
    public void migrate(DynamicRealm realm, long oldVersion, long newVersion) {

//        RealmSchema schema = realm.getSchema();
//        if(oldVersion ==0){
//
//            RealmObjectSchema personSchema =schema.get("Person");
//            personSchema.addField().transform().removeField()
//            oldVersion++;
//        }

    }
}
